package miaodi

import (
	"fmt"
	"encoding/csv"
	"os"
)

func CreateCsv()  {
	file,err := os.Create(os.Getenv("GOPATH") + "/qq.csv")

	if err != nil {
		fmt.Println(err)
	}
	file.WriteString("\xEF\xBB\xBF")

	wq := csv.NewWriter(file)
	wq.WriteAll(ItemInfo)
	wq.Flush()
}
